<template>
  <div class="phone">
    <div class="message">
      <span> 您好，智能客服服务!常见问题请回复对应数字:</span>
      <a href="https://m.cake6.com/"><p>111-送货,</p></a>
      <a href="https://m.cake6.com/"><p>222-日期,</p></a>
      <a href="https://m.cake6.com/"><p>333-下单,</p></a>
      <a href="https://m.cake6.com/"><p>444-付款,</p></a>
      <a href="https://m.cake6.com/"><p>555-价格,</p></a>
      <a href="https://m.cake6.com/"><p>666-质量,</p></a>
      <span
        >或者直接输入您的问题! <br />
        您是否想问:转接到人工客服怎么付款?</span
      >
      <span>可以送货上门吗多久可以送到</span>
    </div>
    <!-- 自定义图标 -->
    <van-popup
      v-model="show"
      closeable
      close-icon="close"
      position="bottom"
      :style="{ height: '80%' }"
    >
      <div class="center">
        10年老牌蛋糕店当天现做送货上门城区免费配送新鲜千净，款式新颖，口味精致。加微信订购更方便!
      </div>
      <a href="https://m.cake6.com/"><button>请联系客服小姐姐吧！</button></a>
    </van-popup>
  </div>
</template>

<script>
export default {
  data () {
    return {
      show: true
    }
  },

  methods: {
    showPopup () {
      this.show = true
    }
  }
}
</script>

<style lang="scss" scoped>
.phone {
  margin-top: 100px;
  position: relative;
  button {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    border-radius: 50px;
    background: orangered;
  }
}
.center {
  padding: 30px;
  width: 80%;
  height: 200px;
  margin: 50px auto;
  background: aquamarine;
  border-radius: 50px;
  border: 1px orangered solid;
}
p {
  text-align: center;
  margin: 10px;
  color: blue;
}
.message {
  padding: 30px;
  margin: 0px auto;
  border-radius: 50px;
  width: 80%;
  background: pink;
}
</style>
